home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1992 July / Nautilus-3-8 / Nautilus-3-8.bin / Tools & Utilities / Techy Stuff / Source ƒ / ASM 2.0 ƒ / as.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-15  |  835 b   |  34 lines

  1. /*
  2.  *      machine independent definitions and global variables
  3.  */
  4.  
  5. #define YES    1
  6. #define NO    0
  7. #define ERR    (-1)
  8.  
  9. #define MAXBUF  256     /* input line length */
  10. #define MAXOP   20      /* space for longest mnemonic */
  11. #define MAXLAB  30      /* longest label */
  12. #define E_LIMIT 32      /* max. bytes per S-record */
  13. #define P_LIMIT 64      /* max. bytes per line to listing */
  14. #define OBJNAME "m.out" /* S-record filename */
  15.  
  16. #define MAXWORD 32767
  17. #define MINWORD (-32768)
  18. #define MAXUWORD 65535
  19. #define MAXBYTE 127
  20. #define MAXUBYTE 255
  21. #define MINBYTE (-128)
  22.  
  23. /*      Debug flag values       */
  24. #define PARSE   0x01
  25. #define MATCH   0x02
  26. #define EVAL    0x04
  27. #define LOOKUP  0x08
  28. #define FWDREF  0x10
  29. #define XDEBUG  0x20    /* debug indexed indirect */
  30. #define DUMP    0x40    /* internal table dump */
  31.  
  32. char mapdn();
  33. char *alloc();
  34.